import { request } from '../request'

export function queryList(dicCode: string) {
  return request.get<{ dicKey: string, dicValue: string }[]>(
    `${SERVICE_BASIC}/sysDictionaryEnco/loadDicCodeByDictionaryEncoList`,
    {
      params: {
        dicCode,
      },
    },
  )
}
